package homework;

public class Course {
    private String CourseName;
    private int studentNumber = 0;
    private Student[] student;//学生数组

    public Course(){

    }
    public Course(String CourseName){
        this.CourseName = CourseName;
    }

    public String getCourseName() {
        return CourseName;
    }

    public void setCourseName(String courseName) {
        CourseName = courseName;
    }

    public int getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(int studentNumber) {
        this.studentNumber = studentNumber;
    }

    public Student[] getStudent() {
        return student;
    }

    public void setStudent(Student[] student) {
        this.student = student;
    }
}
